package com.example.mypaging;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "student_table")
public class Student {
    @PrimaryKey(autoGenerate = true)
    private int id;
    @ColumnInfo(name = "student_number")
    private int studentnunber;

    public Student() {
    }

    public Student(int id, int studentnunber) {
        this.id = id;
        this.studentnunber = studentnunber;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStudentnunber() {
        return studentnunber;
    }

    public void setStudentnunber(int studentnunber) {
        this.studentnunber = studentnunber;
    }
}
